<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>梦想制造家-我的奖品</title>
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<link rel="stylesheet" type="text/css" href="http://s10.realdtech.com/xws/house-richer/richer-home/css/style.css"/>
	</head>
	<body>
		<div class="my-prize">
			<div class="prize-top">
				<a id="tb" >
					<img src="http://s10.realdtech.com/xws/house-richer/richer-home/img/back.png">
				</a>
				<div class="prize-title">
					<p>我的奖品</p>
				</div>
			</div>
			<div class="prize-middle">

				#for(list:li)
				<div class="list-solid">
					<div class="list-dotted">
						<div class="prize-left">
							<p>您获得价值<span class="prize-yuan">#(list.prize_value??)</span>元的<span class="prize-pro">#(list.prize_name??)</span>礼品一份</p>
							<p>中奖编码:#(list.prize_num??)</p>
							<p>领奖地址:#(list.accept_addres??)</p>
							<p>领奖有效期:#(list.time)</p>
						</div>
						<div class="prize-right">
							<img src="http://s10.realdtech.com/xws/house-richer/richer-home/img/present.png">
						</div>
						<div class="clearfix"></div>
					</div>
				</div>
				#end

					<!--	<div class="prize-right">
							<img src="http://s10.realdtech.com/xws/house-richer/richer-home/img/present.png">
						</div>-->
						<div class="clearfix"></div>
					</div>
				</div>
				<div class="prize-null">
					<img src="http://s10.realdtech.com/xws/house-richer/richer-home/img/prize-null.png">
				</div>
			</div>
			
			<div class="prize-bottom">
				<img src="http://s10.realdtech.com/xws/house-richer/richer-home/img/prize-bottomimg.png">
			</div>
		</div>
	</body>
	<script src="//static1.finchain.top/easyui-insdep/1.0.4/jquery.min.js"></script>
	<script>
		$("#tb").click(function () {
            window.history.back();
        })
		var  list = $(".list-solid").length;
		if(list == 0){
			$(".prize-bottom").show();
			$(".list-solid").hide();
			$(".prize-null").show();
			$(".prize-bottom").css({"position":"fixed","bottom":"0","left":"0"})
		}else if(list < 4 && list > 0){
			$(".prize-bottom").show();
			$(".list-solid").show();
			$(".prize-bottom").css({"position":"fixed","bottom":"0","left":"0"})
		}else{
			$(".list-solid").show();
			$(".prize-bottom").show();
		}
	</script>
</html>
